﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace QBZ.Evaluation.Repositories.DataAccess
{
    [Table("tb_role")]
    public partial class TbRole
    {
        [Key]
        public int RoleId { get; set; }

        [MaxLength(100)]
        public string RoleName { get; set; }

        public virtual List<TbRoleChild> RoleChildren { get; set; }

        [MaxLength(500)]
        public string RoleDescription { get; set; }

        public bool RoleIsDelete { get; set; }

        public DateTime CreateOn { get; set; }

        public int CreateBy { get; set; }

        public DateTime? UpdateOn { get; set; }

        public int? UpdateBy { get; set; }

        [Timestamp]
        public byte[] TimeStamp { get; set; }

        public Guid Guid { get; set; }
    }
}

